﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using DataAccessLayer.Adapter;
using DataAccessLayer.Entity;
namespace BussinessLayer
{
    public class XaPhuongBussiness
    {
        XaPhuongAdapter xaPhuongAdapter = new XaPhuongAdapter();
        public DataTable LoadXaPhuong()
        {
            return xaPhuongAdapter.LoadXaPhuong();
        }
        public DataTable LoadXaPhuongByMaQuanHuyen(clsXa_Phuong clsXaPhuong)
        {
            return xaPhuongAdapter.LoadTenXaPhuongByMaHuyen(clsXaPhuong);
        }
        public void ThemXaPhuong(clsXa_Phuong clsXa)
        {
            xaPhuongAdapter.ThemXaPhuong(clsXa);
        }
        public void SuaXaPhuong(clsXa_Phuong clsXa)
        {
            xaPhuongAdapter.SuaXaPhuong(clsXa);
        }
        public void XoaXaPhuong(clsXa_Phuong clsXa)
        {
            xaPhuongAdapter.XoaXaPhuong(clsXa);
        }
    }
}
